import { useStore } from 'vuex'

export const useTitle = (index) => {

  const store = useStore()
  console.log(store, 'useStore')
  document.title = store.state.city[index]
}